/**
 * 
 */
package com.iss.card.model;

import java.io.Serializable;

import com.iss.card.webservice.BaseModel;

/**
 * @author dtdh
 *
 */
public class StoreBriefInfo extends BaseModel implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = -8688168841086093020L;
	private static final String SBKEY_STORE_ID = "storeID";
	private static final String SBKEY_STORE_CITY_ID = "storeCityID";
	private static final String SBKEY_STORE_CITY_NAME = "storeCityName";
	private static final String SBKEY_STORE_PIC_URL = "storePicUrl";
	private static final String SBKEY_STORE_PICW = "storePicW";
	private static final String SBKEY_STORE_PICH = "storePicH";
	private static final String SBKEY_STORE_TYPE = "storeType";
	private static final String SBKEY_STORE_ADDRESS = "storeAddress";
	private static final String SBKEY_STORE_CREATE_DATE = "createDate";
	
	private int mStoreId;
	private int mStoreCityId;
	private String mStoreCityName;
	private String mStorePicUrl;
	private int mStorePicW;
	private int mStorePicH;
	private int mStoreType;
	private String mStoreAddress;
	private String mStoreCreateDate;

	/**
	 * @return the mStoreId
	 */
	public synchronized final int getStoreId() {
		return mStoreId;
	}

	/**
	 * @param storeId the mStoreId to set
	 */
	public synchronized final void setStoreId(int storeId) {
		this.mStoreId = storeId;
	}

	/**
	 * @return the mStoreCityId
	 */
	public synchronized final int getStoreCityId() {
		return mStoreCityId;
	}

	/**
	 * @param storeCityId the mStoreCityId to set
	 */
	public synchronized final void setStoreCityId(int storeCityId) {
		this.mStoreCityId = storeCityId;
	}

	/**
	 * @return the mStoreCityName
	 */
	public synchronized final String getStoreCityName() {
		return mStoreCityName;
	}

	/**
	 * @param storeCityName the mStoreCityName to set
	 */
	public synchronized final void setStoreCityName(String storeCityName) {
		this.mStoreCityName = storeCityName;
	}

	/**
	 * @return the mStorePicUrl
	 */
	public synchronized final String getStorePicUrl() {
		return mStorePicUrl;
	}

	/**
	 * @param storePicUrl the mStorePicUrl to set
	 */
	public synchronized final void setStorePicUrl(String storePicUrl) {
		this.mStorePicUrl = storePicUrl;
	}

	/**
	 * @return the mStorePicW
	 */
	public synchronized final int getStorePicW() {
		return mStorePicW;
	}

	/**
	 * @param storePicW the mStorePicW to set
	 */
	public synchronized final void setStorePicW(int storePicW) {
		this.mStorePicW = storePicW;
	}

	/**
	 * @return the mStorePicH
	 */
	public synchronized final int getStorePicH() {
		return mStorePicH;
	}

	/**
	 * @param storePicH the mStorePicH to set
	 */
	public synchronized final void setStorePicH(int storePicH) {
		this.mStorePicH = storePicH;
	}

	/**
	 * @return the mStoreType
	 */
	public synchronized final int getStoreType() {
		return mStoreType;
	}

	/**
	 * @param storeType the mStoreType to set
	 */
	public synchronized final void setStoreType(int storeType) {
		this.mStoreType = storeType;
	}

	/**
	 * @return the mStoreAddress
	 */
	public synchronized final String getStoreAddress() {
		return mStoreAddress;
	}

	/**
	 * @param storeAddress the mStoreAddress to set
	 */
	public synchronized final void setStoreAddress(String storeAddress) {
		this.mStoreAddress = storeAddress;
	}

	/**
	 * @return the mStoreCreateDate
	 */
	public synchronized final String getStoreCreateDate() {
		return mStoreCreateDate;
	}

	/**
	 * @param storeCreateDate the mStoreCreateDate to set
	 */
	public synchronized final void setStoreCreateDate(String storeCreateDate) {
		this.mStoreCreateDate = storeCreateDate;
	}

	/* (non-Javadoc)
	 * @see com.iss.card.webservice.BaseModel#addValues(java.lang.String, java.lang.String, com.iss.card.webservice.BaseModel)
	 */
	@Override
	public void addValues(String tempString, String valueString,
			BaseModel baseMode) {
		if (null == tempString) {
			return;
		}
		if (tempString.equals(SBKEY_STORE_ID)) {
			this.mStoreId = Integer.valueOf(valueString);
		} else if (tempString.equals(SBKEY_STORE_CITY_ID)) {
			this.mStoreCityId = Integer.valueOf(valueString);
		} else if (tempString.equals(SBKEY_STORE_CITY_NAME)) {
			this.mStoreCityName = valueString;
		} else if (tempString.equals(SBKEY_STORE_PIC_URL)) {
			this.mStorePicUrl = valueString;
		} else if (tempString.equals(SBKEY_STORE_PICW)) {
			this.mStorePicW = Integer.valueOf(valueString);
		} else if (tempString.equals(SBKEY_STORE_PICH)) {
			this.mStorePicH = Integer.valueOf(valueString);
		} else if (tempString.equals(SBKEY_STORE_TYPE)) {
			this.mStoreType = Integer.valueOf(valueString);
		} else if (tempString.equals(SBKEY_STORE_ADDRESS)) {
			this.mStoreAddress = valueString;
		} else if (tempString.equals(SBKEY_STORE_CREATE_DATE)) {
			this.mStoreCreateDate = valueString;
		}
		baseMode = this;
	}
}
